#ifndef IMAGE_CONSTANTS_H
#define IMAGE_CONSTANTS_H

#define IMAGE_WIDTCH          8424
#define IMAGE_HEIGHT          6032
#define IMAGE_BYTES           2
#define IMAGE_PER_LINE_BYTES  IMAGE_WIDTCH*IMAGE_BYTES
#define DMA_BLOCK_SIZE        2*IMAGE_WIDTCH*IMAGE_HEIGHT
#define DMA_BLOCK_NUM         1
#define IMAGE_SIZE            DMA_BLOCK_SIZE*DMA_BLOCK_NUM

#define INTERNAL_STORAGE_PATH "/mnt/mnt1/"
#define EXTERNAL_STORAGE_PATH "/mnt/mnt2/"

#define CLEARALL 0xFFFF


#define IMAGE_OK        0
#define IMAGE_ERR       1
#define OUT_OF_RANGE    2


enum ImageBits{
    TwelveBit,
    EightBit
};

enum ImageSavePosition{
    InternalStorage = 0x01,
    ExternalStorage,
    All
};

#endif // IMAGE_CONSTANTS_H
